package com.dormitory.management.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dormitory.management.system.resp.HousemasterResp;
import com.dormitory.management.system.entity.Housemaster;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dormitory.management.system.resp.StuAndHouResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 宿管表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Mapper
public interface HousemasterMapper extends BaseMapper<Housemaster> {
    IPage<HousemasterResp> getHousemasterPage(IPage<HousemasterResp> page, @Param(Constants.WRAPPER) Wrapper<HousemasterResp> wrapper);
    StuAndHouResp getHousemasterInfo(@Param(Constants.WRAPPER) Wrapper<StuAndHouResp> Wrapper);
}
